package br.com.uniban.dao.base;

import java.io.Serializable;
import java.util.List;

import br.com.uniban.entity.Disciplina;

public interface DAOGeneric<T,PK extends Serializable> {

	public  T create(T entity) throws Exception;
    public  T find(PK pk);
    public void delete(T entity) throws Exception;
    public  T merge(T entity) throws Exception;
    public  T getReference(PK pk) throws Exception;
    public List<Disciplina> listAllDisciplina();
    public Disciplina findDisciplina(Short pk);

}
